spinbutton: Pass the right size
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Jan 2012 15:08:05 +0000 (16:08 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:58 +0000 (18:37 +0100)
We need a better diffrentiation between icon sizes - ie GtkIconSize vs
pixel size. Or more CSS.

gtk/gtkspinbutton.c

index c3ae12a13d2ddc21f12bd22f1dce41cd76b4a91d..f805ec274f2adc0e364953c4a4e01364f260cd74 100644 (file)
@@ -639,7 +639,7 @@ create_one_pixbuf (GtkStyleContext *context,
       GtkIconSet *icon_set;
 
       icon_set = gtk_style_context_lookup_icon_set (context, GTK_STOCK_MISSING_IMAGE);
-      pix = gtk_icon_set_render_icon_pixbuf (icon_set, context, size);
+      pix = gtk_icon_set_render_icon_pixbuf (icon_set, context, GTK_ICON_SIZE_MENU);
 
       g_warning ("Unable to fetch icon %s from the icon theme", icon_name);
     }